import { HttpClient } from "@angular/common/http";
import { Injectable } from "@angular/core";
import { environment } from "@env/environment";

@Injectable()
export class ImInfoController{

    constructor(private http: HttpClient){}


    public async findByLoginUser(){
        const url = `${environment.im}/imInfo/findByLoginUser`;
        return this.http.get(url);
    }

}